package com.zheng.wechat.mp.dao.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class WechatMpActJiugonggeExample implements Serializable {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private static final long serialVersionUID = 1L;

    public WechatMpActJiugonggeExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria implements Serializable {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTitleIsNull() {
            addCriterion("title is null");
            return (Criteria) this;
        }

        public Criteria andTitleIsNotNull() {
            addCriterion("title is not null");
            return (Criteria) this;
        }

        public Criteria andTitleEqualTo(String value) {
            addCriterion("title =", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotEqualTo(String value) {
            addCriterion("title <>", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThan(String value) {
            addCriterion("title >", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThanOrEqualTo(String value) {
            addCriterion("title >=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThan(String value) {
            addCriterion("title <", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThanOrEqualTo(String value) {
            addCriterion("title <=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLike(String value) {
            addCriterion("title like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotLike(String value) {
            addCriterion("title not like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleIn(List<String> values) {
            addCriterion("title in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotIn(List<String> values) {
            addCriterion("title not in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleBetween(String value1, String value2) {
            addCriterion("title between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotBetween(String value1, String value2) {
            addCriterion("title not between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andStarttimeIsNull() {
            addCriterion("starttime is null");
            return (Criteria) this;
        }

        public Criteria andStarttimeIsNotNull() {
            addCriterion("starttime is not null");
            return (Criteria) this;
        }

        public Criteria andStarttimeEqualTo(Date value) {
            addCriterion("starttime =", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeNotEqualTo(Date value) {
            addCriterion("starttime <>", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeGreaterThan(Date value) {
            addCriterion("starttime >", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeGreaterThanOrEqualTo(Date value) {
            addCriterion("starttime >=", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeLessThan(Date value) {
            addCriterion("starttime <", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeLessThanOrEqualTo(Date value) {
            addCriterion("starttime <=", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeIn(List<Date> values) {
            addCriterion("starttime in", values, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeNotIn(List<Date> values) {
            addCriterion("starttime not in", values, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeBetween(Date value1, Date value2) {
            addCriterion("starttime between", value1, value2, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeNotBetween(Date value1, Date value2) {
            addCriterion("starttime not between", value1, value2, "starttime");
            return (Criteria) this;
        }

        public Criteria andEndtimeIsNull() {
            addCriterion("endtime is null");
            return (Criteria) this;
        }

        public Criteria andEndtimeIsNotNull() {
            addCriterion("endtime is not null");
            return (Criteria) this;
        }

        public Criteria andEndtimeEqualTo(Date value) {
            addCriterion("endtime =", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotEqualTo(Date value) {
            addCriterion("endtime <>", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeGreaterThan(Date value) {
            addCriterion("endtime >", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("endtime >=", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeLessThan(Date value) {
            addCriterion("endtime <", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeLessThanOrEqualTo(Date value) {
            addCriterion("endtime <=", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeIn(List<Date> values) {
            addCriterion("endtime in", values, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotIn(List<Date> values) {
            addCriterion("endtime not in", values, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeBetween(Date value1, Date value2) {
            addCriterion("endtime between", value1, value2, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotBetween(Date value1, Date value2) {
            addCriterion("endtime not between", value1, value2, "endtime");
            return (Criteria) this;
        }

        public Criteria andBannerIsNull() {
            addCriterion("banner is null");
            return (Criteria) this;
        }

        public Criteria andBannerIsNotNull() {
            addCriterion("banner is not null");
            return (Criteria) this;
        }

        public Criteria andBannerEqualTo(String value) {
            addCriterion("banner =", value, "banner");
            return (Criteria) this;
        }

        public Criteria andBannerNotEqualTo(String value) {
            addCriterion("banner <>", value, "banner");
            return (Criteria) this;
        }

        public Criteria andBannerGreaterThan(String value) {
            addCriterion("banner >", value, "banner");
            return (Criteria) this;
        }

        public Criteria andBannerGreaterThanOrEqualTo(String value) {
            addCriterion("banner >=", value, "banner");
            return (Criteria) this;
        }

        public Criteria andBannerLessThan(String value) {
            addCriterion("banner <", value, "banner");
            return (Criteria) this;
        }

        public Criteria andBannerLessThanOrEqualTo(String value) {
            addCriterion("banner <=", value, "banner");
            return (Criteria) this;
        }

        public Criteria andBannerLike(String value) {
            addCriterion("banner like", value, "banner");
            return (Criteria) this;
        }

        public Criteria andBannerNotLike(String value) {
            addCriterion("banner not like", value, "banner");
            return (Criteria) this;
        }

        public Criteria andBannerIn(List<String> values) {
            addCriterion("banner in", values, "banner");
            return (Criteria) this;
        }

        public Criteria andBannerNotIn(List<String> values) {
            addCriterion("banner not in", values, "banner");
            return (Criteria) this;
        }

        public Criteria andBannerBetween(String value1, String value2) {
            addCriterion("banner between", value1, value2, "banner");
            return (Criteria) this;
        }

        public Criteria andBannerNotBetween(String value1, String value2) {
            addCriterion("banner not between", value1, value2, "banner");
            return (Criteria) this;
        }

        public Criteria andCountIsNull() {
            addCriterion("count is null");
            return (Criteria) this;
        }

        public Criteria andCountIsNotNull() {
            addCriterion("count is not null");
            return (Criteria) this;
        }

        public Criteria andCountEqualTo(Integer value) {
            addCriterion("count =", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountNotEqualTo(Integer value) {
            addCriterion("count <>", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountGreaterThan(Integer value) {
            addCriterion("count >", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("count >=", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountLessThan(Integer value) {
            addCriterion("count <", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountLessThanOrEqualTo(Integer value) {
            addCriterion("count <=", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountIn(List<Integer> values) {
            addCriterion("count in", values, "count");
            return (Criteria) this;
        }

        public Criteria andCountNotIn(List<Integer> values) {
            addCriterion("count not in", values, "count");
            return (Criteria) this;
        }

        public Criteria andCountBetween(Integer value1, Integer value2) {
            addCriterion("count between", value1, value2, "count");
            return (Criteria) this;
        }

        public Criteria andCountNotBetween(Integer value1, Integer value2) {
            addCriterion("count not between", value1, value2, "count");
            return (Criteria) this;
        }

        public Criteria andHdurlIsNull() {
            addCriterion("hdurl is null");
            return (Criteria) this;
        }

        public Criteria andHdurlIsNotNull() {
            addCriterion("hdurl is not null");
            return (Criteria) this;
        }

        public Criteria andHdurlEqualTo(String value) {
            addCriterion("hdurl =", value, "hdurl");
            return (Criteria) this;
        }

        public Criteria andHdurlNotEqualTo(String value) {
            addCriterion("hdurl <>", value, "hdurl");
            return (Criteria) this;
        }

        public Criteria andHdurlGreaterThan(String value) {
            addCriterion("hdurl >", value, "hdurl");
            return (Criteria) this;
        }

        public Criteria andHdurlGreaterThanOrEqualTo(String value) {
            addCriterion("hdurl >=", value, "hdurl");
            return (Criteria) this;
        }

        public Criteria andHdurlLessThan(String value) {
            addCriterion("hdurl <", value, "hdurl");
            return (Criteria) this;
        }

        public Criteria andHdurlLessThanOrEqualTo(String value) {
            addCriterion("hdurl <=", value, "hdurl");
            return (Criteria) this;
        }

        public Criteria andHdurlLike(String value) {
            addCriterion("hdurl like", value, "hdurl");
            return (Criteria) this;
        }

        public Criteria andHdurlNotLike(String value) {
            addCriterion("hdurl not like", value, "hdurl");
            return (Criteria) this;
        }

        public Criteria andHdurlIn(List<String> values) {
            addCriterion("hdurl in", values, "hdurl");
            return (Criteria) this;
        }

        public Criteria andHdurlNotIn(List<String> values) {
            addCriterion("hdurl not in", values, "hdurl");
            return (Criteria) this;
        }

        public Criteria andHdurlBetween(String value1, String value2) {
            addCriterion("hdurl between", value1, value2, "hdurl");
            return (Criteria) this;
        }

        public Criteria andHdurlNotBetween(String value1, String value2) {
            addCriterion("hdurl not between", value1, value2, "hdurl");
            return (Criteria) this;
        }

        public Criteria andShortUrlIsNull() {
            addCriterion("short_url is null");
            return (Criteria) this;
        }

        public Criteria andShortUrlIsNotNull() {
            addCriterion("short_url is not null");
            return (Criteria) this;
        }

        public Criteria andShortUrlEqualTo(String value) {
            addCriterion("short_url =", value, "shortUrl");
            return (Criteria) this;
        }

        public Criteria andShortUrlNotEqualTo(String value) {
            addCriterion("short_url <>", value, "shortUrl");
            return (Criteria) this;
        }

        public Criteria andShortUrlGreaterThan(String value) {
            addCriterion("short_url >", value, "shortUrl");
            return (Criteria) this;
        }

        public Criteria andShortUrlGreaterThanOrEqualTo(String value) {
            addCriterion("short_url >=", value, "shortUrl");
            return (Criteria) this;
        }

        public Criteria andShortUrlLessThan(String value) {
            addCriterion("short_url <", value, "shortUrl");
            return (Criteria) this;
        }

        public Criteria andShortUrlLessThanOrEqualTo(String value) {
            addCriterion("short_url <=", value, "shortUrl");
            return (Criteria) this;
        }

        public Criteria andShortUrlLike(String value) {
            addCriterion("short_url like", value, "shortUrl");
            return (Criteria) this;
        }

        public Criteria andShortUrlNotLike(String value) {
            addCriterion("short_url not like", value, "shortUrl");
            return (Criteria) this;
        }

        public Criteria andShortUrlIn(List<String> values) {
            addCriterion("short_url in", values, "shortUrl");
            return (Criteria) this;
        }

        public Criteria andShortUrlNotIn(List<String> values) {
            addCriterion("short_url not in", values, "shortUrl");
            return (Criteria) this;
        }

        public Criteria andShortUrlBetween(String value1, String value2) {
            addCriterion("short_url between", value1, value2, "shortUrl");
            return (Criteria) this;
        }

        public Criteria andShortUrlNotBetween(String value1, String value2) {
            addCriterion("short_url not between", value1, value2, "shortUrl");
            return (Criteria) this;
        }

        public Criteria andFoucsUserCanJoinIsNull() {
            addCriterion("foucs_user_can_join is null");
            return (Criteria) this;
        }

        public Criteria andFoucsUserCanJoinIsNotNull() {
            addCriterion("foucs_user_can_join is not null");
            return (Criteria) this;
        }

        public Criteria andFoucsUserCanJoinEqualTo(String value) {
            addCriterion("foucs_user_can_join =", value, "foucsUserCanJoin");
            return (Criteria) this;
        }

        public Criteria andFoucsUserCanJoinNotEqualTo(String value) {
            addCriterion("foucs_user_can_join <>", value, "foucsUserCanJoin");
            return (Criteria) this;
        }

        public Criteria andFoucsUserCanJoinGreaterThan(String value) {
            addCriterion("foucs_user_can_join >", value, "foucsUserCanJoin");
            return (Criteria) this;
        }

        public Criteria andFoucsUserCanJoinGreaterThanOrEqualTo(String value) {
            addCriterion("foucs_user_can_join >=", value, "foucsUserCanJoin");
            return (Criteria) this;
        }

        public Criteria andFoucsUserCanJoinLessThan(String value) {
            addCriterion("foucs_user_can_join <", value, "foucsUserCanJoin");
            return (Criteria) this;
        }

        public Criteria andFoucsUserCanJoinLessThanOrEqualTo(String value) {
            addCriterion("foucs_user_can_join <=", value, "foucsUserCanJoin");
            return (Criteria) this;
        }

        public Criteria andFoucsUserCanJoinLike(String value) {
            addCriterion("foucs_user_can_join like", value, "foucsUserCanJoin");
            return (Criteria) this;
        }

        public Criteria andFoucsUserCanJoinNotLike(String value) {
            addCriterion("foucs_user_can_join not like", value, "foucsUserCanJoin");
            return (Criteria) this;
        }

        public Criteria andFoucsUserCanJoinIn(List<String> values) {
            addCriterion("foucs_user_can_join in", values, "foucsUserCanJoin");
            return (Criteria) this;
        }

        public Criteria andFoucsUserCanJoinNotIn(List<String> values) {
            addCriterion("foucs_user_can_join not in", values, "foucsUserCanJoin");
            return (Criteria) this;
        }

        public Criteria andFoucsUserCanJoinBetween(String value1, String value2) {
            addCriterion("foucs_user_can_join between", value1, value2, "foucsUserCanJoin");
            return (Criteria) this;
        }

        public Criteria andFoucsUserCanJoinNotBetween(String value1, String value2) {
            addCriterion("foucs_user_can_join not between", value1, value2, "foucsUserCanJoin");
            return (Criteria) this;
        }

        public Criteria andBindingMobileCanJoinIsNull() {
            addCriterion("binding_mobile_can_join is null");
            return (Criteria) this;
        }

        public Criteria andBindingMobileCanJoinIsNotNull() {
            addCriterion("binding_mobile_can_join is not null");
            return (Criteria) this;
        }

        public Criteria andBindingMobileCanJoinEqualTo(String value) {
            addCriterion("binding_mobile_can_join =", value, "bindingMobileCanJoin");
            return (Criteria) this;
        }

        public Criteria andBindingMobileCanJoinNotEqualTo(String value) {
            addCriterion("binding_mobile_can_join <>", value, "bindingMobileCanJoin");
            return (Criteria) this;
        }

        public Criteria andBindingMobileCanJoinGreaterThan(String value) {
            addCriterion("binding_mobile_can_join >", value, "bindingMobileCanJoin");
            return (Criteria) this;
        }

        public Criteria andBindingMobileCanJoinGreaterThanOrEqualTo(String value) {
            addCriterion("binding_mobile_can_join >=", value, "bindingMobileCanJoin");
            return (Criteria) this;
        }

        public Criteria andBindingMobileCanJoinLessThan(String value) {
            addCriterion("binding_mobile_can_join <", value, "bindingMobileCanJoin");
            return (Criteria) this;
        }

        public Criteria andBindingMobileCanJoinLessThanOrEqualTo(String value) {
            addCriterion("binding_mobile_can_join <=", value, "bindingMobileCanJoin");
            return (Criteria) this;
        }

        public Criteria andBindingMobileCanJoinLike(String value) {
            addCriterion("binding_mobile_can_join like", value, "bindingMobileCanJoin");
            return (Criteria) this;
        }

        public Criteria andBindingMobileCanJoinNotLike(String value) {
            addCriterion("binding_mobile_can_join not like", value, "bindingMobileCanJoin");
            return (Criteria) this;
        }

        public Criteria andBindingMobileCanJoinIn(List<String> values) {
            addCriterion("binding_mobile_can_join in", values, "bindingMobileCanJoin");
            return (Criteria) this;
        }

        public Criteria andBindingMobileCanJoinNotIn(List<String> values) {
            addCriterion("binding_mobile_can_join not in", values, "bindingMobileCanJoin");
            return (Criteria) this;
        }

        public Criteria andBindingMobileCanJoinBetween(String value1, String value2) {
            addCriterion("binding_mobile_can_join between", value1, value2, "bindingMobileCanJoin");
            return (Criteria) this;
        }

        public Criteria andBindingMobileCanJoinNotBetween(String value1, String value2) {
            addCriterion("binding_mobile_can_join not between", value1, value2, "bindingMobileCanJoin");
            return (Criteria) this;
        }

        public Criteria andNumPerDayIsNull() {
            addCriterion("num_per_day is null");
            return (Criteria) this;
        }

        public Criteria andNumPerDayIsNotNull() {
            addCriterion("num_per_day is not null");
            return (Criteria) this;
        }

        public Criteria andNumPerDayEqualTo(Integer value) {
            addCriterion("num_per_day =", value, "numPerDay");
            return (Criteria) this;
        }

        public Criteria andNumPerDayNotEqualTo(Integer value) {
            addCriterion("num_per_day <>", value, "numPerDay");
            return (Criteria) this;
        }

        public Criteria andNumPerDayGreaterThan(Integer value) {
            addCriterion("num_per_day >", value, "numPerDay");
            return (Criteria) this;
        }

        public Criteria andNumPerDayGreaterThanOrEqualTo(Integer value) {
            addCriterion("num_per_day >=", value, "numPerDay");
            return (Criteria) this;
        }

        public Criteria andNumPerDayLessThan(Integer value) {
            addCriterion("num_per_day <", value, "numPerDay");
            return (Criteria) this;
        }

        public Criteria andNumPerDayLessThanOrEqualTo(Integer value) {
            addCriterion("num_per_day <=", value, "numPerDay");
            return (Criteria) this;
        }

        public Criteria andNumPerDayIn(List<Integer> values) {
            addCriterion("num_per_day in", values, "numPerDay");
            return (Criteria) this;
        }

        public Criteria andNumPerDayNotIn(List<Integer> values) {
            addCriterion("num_per_day not in", values, "numPerDay");
            return (Criteria) this;
        }

        public Criteria andNumPerDayBetween(Integer value1, Integer value2) {
            addCriterion("num_per_day between", value1, value2, "numPerDay");
            return (Criteria) this;
        }

        public Criteria andNumPerDayNotBetween(Integer value1, Integer value2) {
            addCriterion("num_per_day not between", value1, value2, "numPerDay");
            return (Criteria) this;
        }

        public Criteria andPrizeStatusIsNull() {
            addCriterion("prize_status is null");
            return (Criteria) this;
        }

        public Criteria andPrizeStatusIsNotNull() {
            addCriterion("prize_status is not null");
            return (Criteria) this;
        }

        public Criteria andPrizeStatusEqualTo(String value) {
            addCriterion("prize_status =", value, "prizeStatus");
            return (Criteria) this;
        }

        public Criteria andPrizeStatusNotEqualTo(String value) {
            addCriterion("prize_status <>", value, "prizeStatus");
            return (Criteria) this;
        }

        public Criteria andPrizeStatusGreaterThan(String value) {
            addCriterion("prize_status >", value, "prizeStatus");
            return (Criteria) this;
        }

        public Criteria andPrizeStatusGreaterThanOrEqualTo(String value) {
            addCriterion("prize_status >=", value, "prizeStatus");
            return (Criteria) this;
        }

        public Criteria andPrizeStatusLessThan(String value) {
            addCriterion("prize_status <", value, "prizeStatus");
            return (Criteria) this;
        }

        public Criteria andPrizeStatusLessThanOrEqualTo(String value) {
            addCriterion("prize_status <=", value, "prizeStatus");
            return (Criteria) this;
        }

        public Criteria andPrizeStatusLike(String value) {
            addCriterion("prize_status like", value, "prizeStatus");
            return (Criteria) this;
        }

        public Criteria andPrizeStatusNotLike(String value) {
            addCriterion("prize_status not like", value, "prizeStatus");
            return (Criteria) this;
        }

        public Criteria andPrizeStatusIn(List<String> values) {
            addCriterion("prize_status in", values, "prizeStatus");
            return (Criteria) this;
        }

        public Criteria andPrizeStatusNotIn(List<String> values) {
            addCriterion("prize_status not in", values, "prizeStatus");
            return (Criteria) this;
        }

        public Criteria andPrizeStatusBetween(String value1, String value2) {
            addCriterion("prize_status between", value1, value2, "prizeStatus");
            return (Criteria) this;
        }

        public Criteria andPrizeStatusNotBetween(String value1, String value2) {
            addCriterion("prize_status not between", value1, value2, "prizeStatus");
            return (Criteria) this;
        }

        public Criteria andJoinNumLimitIsNull() {
            addCriterion("join_num_limit is null");
            return (Criteria) this;
        }

        public Criteria andJoinNumLimitIsNotNull() {
            addCriterion("join_num_limit is not null");
            return (Criteria) this;
        }

        public Criteria andJoinNumLimitEqualTo(Integer value) {
            addCriterion("join_num_limit =", value, "joinNumLimit");
            return (Criteria) this;
        }

        public Criteria andJoinNumLimitNotEqualTo(Integer value) {
            addCriterion("join_num_limit <>", value, "joinNumLimit");
            return (Criteria) this;
        }

        public Criteria andJoinNumLimitGreaterThan(Integer value) {
            addCriterion("join_num_limit >", value, "joinNumLimit");
            return (Criteria) this;
        }

        public Criteria andJoinNumLimitGreaterThanOrEqualTo(Integer value) {
            addCriterion("join_num_limit >=", value, "joinNumLimit");
            return (Criteria) this;
        }

        public Criteria andJoinNumLimitLessThan(Integer value) {
            addCriterion("join_num_limit <", value, "joinNumLimit");
            return (Criteria) this;
        }

        public Criteria andJoinNumLimitLessThanOrEqualTo(Integer value) {
            addCriterion("join_num_limit <=", value, "joinNumLimit");
            return (Criteria) this;
        }

        public Criteria andJoinNumLimitIn(List<Integer> values) {
            addCriterion("join_num_limit in", values, "joinNumLimit");
            return (Criteria) this;
        }

        public Criteria andJoinNumLimitNotIn(List<Integer> values) {
            addCriterion("join_num_limit not in", values, "joinNumLimit");
            return (Criteria) this;
        }

        public Criteria andJoinNumLimitBetween(Integer value1, Integer value2) {
            addCriterion("join_num_limit between", value1, value2, "joinNumLimit");
            return (Criteria) this;
        }

        public Criteria andJoinNumLimitNotBetween(Integer value1, Integer value2) {
            addCriterion("join_num_limit not between", value1, value2, "joinNumLimit");
            return (Criteria) this;
        }

        public Criteria andJwidIsNull() {
            addCriterion("jwid is null");
            return (Criteria) this;
        }

        public Criteria andJwidIsNotNull() {
            addCriterion("jwid is not null");
            return (Criteria) this;
        }

        public Criteria andJwidEqualTo(String value) {
            addCriterion("jwid =", value, "jwid");
            return (Criteria) this;
        }

        public Criteria andJwidNotEqualTo(String value) {
            addCriterion("jwid <>", value, "jwid");
            return (Criteria) this;
        }

        public Criteria andJwidGreaterThan(String value) {
            addCriterion("jwid >", value, "jwid");
            return (Criteria) this;
        }

        public Criteria andJwidGreaterThanOrEqualTo(String value) {
            addCriterion("jwid >=", value, "jwid");
            return (Criteria) this;
        }

        public Criteria andJwidLessThan(String value) {
            addCriterion("jwid <", value, "jwid");
            return (Criteria) this;
        }

        public Criteria andJwidLessThanOrEqualTo(String value) {
            addCriterion("jwid <=", value, "jwid");
            return (Criteria) this;
        }

        public Criteria andJwidLike(String value) {
            addCriterion("jwid like", value, "jwid");
            return (Criteria) this;
        }

        public Criteria andJwidNotLike(String value) {
            addCriterion("jwid not like", value, "jwid");
            return (Criteria) this;
        }

        public Criteria andJwidIn(List<String> values) {
            addCriterion("jwid in", values, "jwid");
            return (Criteria) this;
        }

        public Criteria andJwidNotIn(List<String> values) {
            addCriterion("jwid not in", values, "jwid");
            return (Criteria) this;
        }

        public Criteria andJwidBetween(String value1, String value2) {
            addCriterion("jwid between", value1, value2, "jwid");
            return (Criteria) this;
        }

        public Criteria andJwidNotBetween(String value1, String value2) {
            addCriterion("jwid not between", value1, value2, "jwid");
            return (Criteria) this;
        }

        public Criteria andProjectCodeIsNull() {
            addCriterion("project_code is null");
            return (Criteria) this;
        }

        public Criteria andProjectCodeIsNotNull() {
            addCriterion("project_code is not null");
            return (Criteria) this;
        }

        public Criteria andProjectCodeEqualTo(String value) {
            addCriterion("project_code =", value, "projectCode");
            return (Criteria) this;
        }

        public Criteria andProjectCodeNotEqualTo(String value) {
            addCriterion("project_code <>", value, "projectCode");
            return (Criteria) this;
        }

        public Criteria andProjectCodeGreaterThan(String value) {
            addCriterion("project_code >", value, "projectCode");
            return (Criteria) this;
        }

        public Criteria andProjectCodeGreaterThanOrEqualTo(String value) {
            addCriterion("project_code >=", value, "projectCode");
            return (Criteria) this;
        }

        public Criteria andProjectCodeLessThan(String value) {
            addCriterion("project_code <", value, "projectCode");
            return (Criteria) this;
        }

        public Criteria andProjectCodeLessThanOrEqualTo(String value) {
            addCriterion("project_code <=", value, "projectCode");
            return (Criteria) this;
        }

        public Criteria andProjectCodeLike(String value) {
            addCriterion("project_code like", value, "projectCode");
            return (Criteria) this;
        }

        public Criteria andProjectCodeNotLike(String value) {
            addCriterion("project_code not like", value, "projectCode");
            return (Criteria) this;
        }

        public Criteria andProjectCodeIn(List<String> values) {
            addCriterion("project_code in", values, "projectCode");
            return (Criteria) this;
        }

        public Criteria andProjectCodeNotIn(List<String> values) {
            addCriterion("project_code not in", values, "projectCode");
            return (Criteria) this;
        }

        public Criteria andProjectCodeBetween(String value1, String value2) {
            addCriterion("project_code between", value1, value2, "projectCode");
            return (Criteria) this;
        }

        public Criteria andProjectCodeNotBetween(String value1, String value2) {
            addCriterion("project_code not between", value1, value2, "projectCode");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(String value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(String value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(String value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(String value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(String value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(String value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(String value) {
            addCriterion("create_by like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(String value) {
            addCriterion("create_by not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<String> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<String> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(String value1, String value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(String value1, String value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria implements Serializable {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion implements Serializable {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}